package com.example.mylogback.controller;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HelloController {

   private static Logger logger = LoggerFactory.getLogger(HelloController.class);

    @GetMapping("/")
    public Boolean save() {
        logger.info("hello");
        return true;
    }
}
